package com.lw.biz.dal.mapper;

import java.util.List;

import org.apache.ibatis.annotations.Param;

import com.lw.biz.dal.entity.BizDataComment;
import com.lw.biz.dal.enums.GtOrLtEnum;
import com.lw.biz.dal.enums.SortEnum;

public interface BizDataCommentMapper {
    int deleteByPrimaryKey(Long id);

    int insert(BizDataComment record);

    int insertSelective(BizDataComment record);

    BizDataComment selectByPrimaryKey(Long id);

    int updateByPrimaryKeySelective(BizDataComment record);

    int updateByPrimaryKey(BizDataComment record);
    
    List<BizDataComment> selectDataCommentByOffset(@Param("id")Long id,@Param("dataId")Long dataId,@Param("offset")int offset,
    		@Param("gtOrLtEnum")GtOrLtEnum gtOrLtEnum,@Param("sortEnum")SortEnum sortEnum);
}